package at.markushi.ui.util;


import ohos.agp.components.Component;
import ohos.agp.components.element.ShapeElement;

public class UiHelper {

	@SuppressWarnings("deprecation")
	public static void setBackground(Component view, ShapeElement d) {
		view.setBackground(d);
	}

	// 后无效动画
	public static void postInvalidateOnAnimation(Component view) {
		view.invalidate();
	}
}
